pygrub: add basic support for parsing grub2 style grub.cfg file
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 08:06:54 +0000 (08:06 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 08:06:54 +0000 (08:06 +0000)
commit57bc0df07cfae0c6ab0c4e1ca41469eb5fa3a460
tree53d51da3ed4c59ca3afc169551b8235b54170abd
parentccc76c47dec5d7ea50cdeb153b4d60b4d7cbbc29
pygrub: add basic support for parsing grub2 style grub.cfg file

This represents a very simplistic aproach to parsing these file.  It
is basically sufficient to parse the files produced by Debian
Squeeze's version of update-grub. The actual grub.cfg syntax is much
more expresive but not apparently documented apart from a few
examples...

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/pygrub/src/GrubConf.py
tools/pygrub/src/pygrub